<!--新增项目-->
<template>
  <div>
    <component v-bind:is="currentTabComponent" title="回款" :showBackBtn="true">
      <div slot="content">
        <add-form></add-form>
      </div>
    </component>
  </div>
</template>

<script>
import "@/assets/fonticon/iconfont.css";
export default {
  name: "companyInfo",
  components: {
    addForm: () => import("@/components/back/form"),
    contentWrapper: () => import("@/components/contentWrapper/index"),
    tab: () => import("@/components/contentWrapper/pcIndex")
  },
  computed: {
    currentTabComponent() {
      if (this.$store.state.isPC) {
        return "tab";
      } else {
        return "contentWrapper";
      }
    }
  }
};
</script>
